x86/HVM: replace plain number in hvm_combine_hw_exceptions()
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Jan 2015 14:03:28 +0000 (15:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Jan 2015 14:03:28 +0000 (15:03 +0100)
commit81db678e4dff0a398fecb59fb92fa41df9954e9c
tree410d2554bc7505eb7b07888dc97c4956b3b2aaf1
parente9c1747a25763c66de4a06923946c59a9f043069
x86/HVM: replace plain number in hvm_combine_hw_exceptions()

While doing so also take care of #VE here (even if we don't make use of
it yet). Note that contributory_exceptions, other than the original
0x7c01 constant, doesn't include #PF anymore, but the check where the
variable is used is after one that already filtered out #PF.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: TIm Deegan <tim@xen.org>
xen/arch/x86/hvm/hvm.c